package com.gm.commonlib.views.choiceview;

public class MyCustomItemChoosenEntity implements CustomItemChoosenEntity {
    public Long id;
    String value;
    public int id2;
    public String key;
    public MyCustomItemChoosenEntity(String key, String value) {
        this.key = key;
        this.value = value;
    }
    public MyCustomItemChoosenEntity(Long id, String value) {
        this.id = id;
        this.value = value;
    }
    public MyCustomItemChoosenEntity(String value, int id) {
        this.id2 = id;
        this.value = value;
    }

    @Override
    public String getText() {
        return value;
    }
}
